home *** CD-ROM | disk | FTP | other *** search
- // LF2 Engine
- // (C) 2002-3 7FX
- //---------------------------------------------------------------------------
- // Desc
- string desc : Description = "Phase shader, ktery definuje render states pro pruhledne meshe.";
- // Shader type phase
- string type : Type = "phase";
- //---------------------------------------------------------------------------
- technique phase_transparent
- {
- // Only one pass
- pass p0
- <
- bool Drawable = false;
- string SortType = "BackToFront";
- >
- {
- CullMode = None;
- // blend
- AlphaBlendEnable = true;
- SrcBlend = SrcAlpha;
- DestBlend = InvSrcAlpha;
- // depth
- ZWriteEnable = false;
- }
- }